package com.bkgy.controller.orderInfo.controller;

import com.bkgy.controller.orderInfo.service.ITOrderStateService;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Tag(name = "合同跟踪")
@Controller
@RequestMapping("/orderInfo")
public class TOrderStateController {

	@Autowired
	private ITOrderStateService service;

	@ResponseBody
	@Operation(summary = "合同跟踪报表", description = "主机厂跟踪")
	@PostMapping("/orderRep")
	public ResultData orderRep() {
		return service.orderRep();
	}

	@ResponseBody
	@Operation(summary = "逾期合同跟踪", description = "逾期合同跟踪")
	@PostMapping("/overOrderRep")
	public ResultData overOrderRep() {
		return service.overOrderRep();
	}
}
